SaveFileCallback

This callback is invoked when the browser requests to display a file chooser dialog to save a file.

You can use this callback to display the file chooser, or provide the file path without displaying any dialogs.

Use the save method to provide the file path to the browser.

Use the cancel method to cancel the dialog.

If the callback throws an exception, the cancel method will be invoked.

Since

7.37

Inheritors

Types

Link copied to clipboard
An action providing a response to the SaveFileCallback.
Link copied to clipboard
interface Params
The parameters of the SaveFileCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.